module.exports = {
  assetsDir: 'assets',
  publicPath: process.env.NODE_ENV == 'production' ? '/' : '/',
  devServer: {
    host: 'localhost',
    port: 8010,
    proxy: {
      '/api': {
        // target: 'http://localhost:8001/',
        target: 'http://localhost:8001/',
        pathRewrite: {'^/api':''},
        changeOrigin: true
      }
    }
  }
}
